remove commas after class methods