API __call magic method now uses the correct variable when trying to call the method.