Added hooks for Analytics in Utils.java