Added fluent validation base class. Also closes #399.