. "A covenant, promise, agreement of understanding in, or in connection with or collateral to, a contract or agreement relative to the construction, alteration, repair or maintenance of a building, structure, appurtenance and appliance or other improvement to real property, including moving, demolition, professional services and excavating connected therewith, purporting to bar the filing of a notice" . . . . . . .