ENH: Makes the strict_lookup decorator more sane