Removed main functions.