Throw 'function not found' errors sooner.