Remove ?> from end of class