fix for accessor/classname initialization
do classname initialization before creating object schema