EditPage: Add getContext() function