StyleCop cleanup
cache trait lookup in the constructor