refactor(blockFrom): use context argument of map