Removed trailing whitespaces, will always check them first.