Centralized memory management.