Finished Constraints metadata implementation. Now for the functional implementation.