add support to Traits fix #24