Added validation to Word secret property