Revert "Merge pull request #37 from pdk/wip_lookup_codes"

This reverts commit a442ffc62cea021a00af81cd43eb5087a25c45db, reversing
changes made to 8fb7a507f7001b63d71de088f07c717203b0f88a.