Changing types using class property processors