Added InternalPolicy class to expose getters instead of all those hashmap lookups