Remove uneeded type declaration for main function