Happens here: https://github.com/mesosphere/marathon/blob/wip-deployment-features/src/main/scala/mesosphere/marathon/MarathonSchedulerActor.scala#L217