Moving context extraction to the rspec manager