Add some initial validation logic.