Updated nested validator functionality and inheritance