Patenting buildings