This is a hack that allows you to specify ColumnConstraints in a type safe way. The problem with this approach is that since I couldn't find an easy way to add CC to a node which was added without them, I have to remove the node, create CC, then readd the node. Not optimal. If there is a way to add CC to a node that was added without, this would be a perfectly fine way to deal with it.