Pass object pointer directly