Added a specially typed method for object references.