context interface and wscontext impl