Remove the unused arg from lookup functions

Previously, there was an ignored argument to lookupCtxtName and its
derivatives. This has been removed to prevent confusion.

Fixes #275