Added option for extending an existing class in dynamic schema