Loading from XML - but having trouble with cache maps