Not sure why this code has to be in a separate method rather than directly in initializer, especially given that it's only supposed to be called from there (I know you copied the structure from existing code).