Cyclin E constrains Cdk5 activity to regulate synaptic plasticity and memory formation.