remove a require that causes a deprecation notice