Same comment as above about setting error here when there's no callback to use it.