Ensure API compatibility