Remove buggy deprecation