Added apache Validate class from Lang API 2.0.