Add Located instance for InputArray.
Fix bug in map-nest creation.