Change API (packages to lines)