Remove use of `proc`