Direct insulin and leptin action on pro-opiomelanocortin neurons is required for normal glucose homeostasis and fertility.