Boyscout, added deprecation warnings, added extra assertions to test.
Added new string validator.