Adaptation

Small fix required for the new adaptation mechanism.

To be merged after https://github.com/enthought/traits/pull/51 .