Remove `ok/1` and `error/1` functions