Cleaned up the entry point.