Removed unnecessary function definitions.