Make scheduler readonly.