Adding apiContext arg for static methods