Removed no more needed asClass/asProperty methods.