I am not sure to understand what you mean. I created this method inside the ```ProcessLayer``` class in order to make this re-usable. It's not clear to me how should I make it even more re-usable.