Renamed variable 'active' to 'enabled' for clarity.