[TASK] Remove unused behavior from lib/core.