Don't #register_visibility on class/modules

Closes #636