Refactor hints to its own class.