Reduce number of trait.

Signed-off-by: crynobone <crynobone@gmail.com>