Move hover stuff into superclass.