Refactored EMM-Core utils package.