Yet another map function.