Assignment and ScheduledAssignment refactored to STI