Implement additional constraints
These are more generic constraints in addition to contact and friction constraints that are already implemented.
Common ones that I've seen before are:
Universal, 6DOF constraints
Rotation constraints along specific axis
The more restricted constraints could just be implemented on top of the universal constraints, but there might be optimizations.