class creation enhancements