Ensure adapter is defined