Remove the `requireGracefully` function