map and register performance optimizations
allow trailing deps comma
plugin hook to execute and updates
Merge branch 'perf'