Add protected property 'class' and its getter getClass()