Made Rex objects callable