Added magic __call() method to allow for user defined methods.