Changed special key lookup API to be a bit easier to maintain.
ENGINE-24 #resolve Should be better now.