Move the __call__ method from Legendre2D and Chebyshev2D to the base class.