The provisions of this chapter do not apply to improvements to real property intended for residential purposes which consist of 12 or fewer residential units.