First attempt to implement input validators.