Edit validation method and renamed namespace error