Enable to use string as index