Expanding Luigi with custom template classes