Cleaning up some repetition in the initializer