[Mac] Remove obsolete methods in Context class