Add precedence for lookup functions