Defensive dictionary access.