Fixed #23167 - Add __repr__ to BaseForm - remove commented line