You could pass these properties as constructor arguments to save some lines.