Added func nodes for sync and async situations, fixed namespaces