Added validates, callback to Analyses model