Updated the documentation on validtors and added behaviour documentation