refactored context api - top() is now a simple get on context::$context