Custom modifications for running CCG. More to come.