Add context wrapper to BugFs