Fix regression bug with Invisible.models namespacing and correponding tests.