More parameter validation added across utility helper methods.