Added collector parameter to executeOn method in Command interface.

Signed-off-by: Jakob Brandsborg Ehmsen <jakobehmsen.github@gmail.com>