Simplified the visibility mixin for now.