Added getType to getTraitInfo()
Merge branch 'master' of https://github.com/digitalabs/IBPMiddleware