The modular nature of histone deacetylase HDAC4 confers phosphorylation-dependent intracellular trafficking.