Added missing apiContext arg