allow extending with 'class' properties