See note about adding err to callback function signature.