Modify dir construct.