Changed ProcessContext to use new validation

Fix for issue #24