Moved a utility method from Felix to the Util class to avoid exposing it as public API of the Felix class.