Added cool getReferenceField method.