changed dynamic proxy. it accepts 2 parameters now. object and oid. this way we dont need the getOID of the objects...