Added: Context parameter to lookup functions.