Move processor support logic to Processor modules
[ci skip] Fix class docs for Chain
Introduce EMPTY_ARRAY and use it where appropriate