Added mapping to delete trailing whitespace