fix docs for objects