Adding validation to Models