Remove unnecessary view controller and logging.