Added convenience method for simple 1-1 mappings.