Basic functionality and validations.