Remove trailing whitespace, duplicate function definition.