Add correct context for inheritdoc

Attempt 2 to fix #97