How is a building defined?