Improve Ground::Program's interface by reassigning linear and ground
methods' duties.