port various old customizations