Removes calls to pry