Simpler constructor for cleaner debug code