Map implements IFn

Signed-off-by: selmeci <selmeci.roman@gmail.com>