Move hints into AOT package to align with other hints. Reduce visibility. See: #3025 Original pull request: #3026