Added support for magic static methods