Implemented context class