Added another validation to guard against leading / and *.

Also converted all errors messages to be in lists.