Small change to constructor to remove warning