Removed validation when in autodoc mode
Documentation fix