Allow jumping from spec to object, and fix jumping to non-existent directory.