Moved initialize to own method.