Replaced a long list of methods using PHP magic __call and __get methods