If a trait is defined as a `Property` with no other type:
```
some_trait = Property(depends_on=['another_trait'])
```
then line 65 will raise an `AttributeError` since `trait.handler` will be `None`.