The ubiquitin-associated domain of AMPK-related kinases regulates conformation and LKB1-mediated phosphorylation and activation.