Adding BadMethodCallException when method not found