Fix to issue where calling via object wasn't working