Made list functions work correctly by passing error and success callbacks through