Building database shapes.