Removed the main function calls.