We are assuming the objetc implements those getters. Can we type $object?