Removed call to module_implements_reset() which does not exist in D8.