Fixed issue where only one class could extend Behavior with a given type.