Made service repository variables readonly.