Move hints widget classes to a new file.