Fix #98 by checking for an object as the parameter to __get().