Complete validations and create functionality.