Changed status to be integer and added array of possible statuses.