Replace type with enum
Merge branch 'master' of github.com:jarulraj/n-store