Added/fixed JavaDoc.
Renamed SpecifiedValidityInfo to RelatedValidityInfo.
Added singleton spis, that can be more easily completely reimplemented for different runtime environments.