improved 'class' utility functions