Support basic object class stubbing