Cleaning up indentation and renaming placeholder visibility method.