Improved validation section in docs.