Clean up to reduce coupling: move initial_constant stuff into gd.cc