Use headers in the task type Communication when placed.

I need to use headers in the task type Communication (like IOI2010 HotterColder).

I attached a sample implementation of this feature. It detects all headers in sol/ directory and includes them in managers.

Is there another good way?