Made lookup errors more descriptive