hllib: migrate from core.