Add lexical lookups to public API.