Optimize Schema::Definition visibility cache internals