Building class structure.