Removing space from class arguments