Separated hint insertion and added support for inserting snippets based on the selected version.