Refactoring: remove trailing whitespace