This should be able to fail and return an error.