Compatibility mode with 2.7