Move variable initializations to constructors.