Adapted to new deployment mechanism.