Changed the end pattern of class to not end line when closing parenthesis.