improve register constructor comment