Avoid 'Multiple classes found for path "Job"' when using inheritance