Refactoring schema box.