blender addons: split render layers in block implementation.
I'm not really happy with this because of redundancy in the code.