Nifty little helper method.
Some validations tinkering.