Add some constraints to trait