Could you implement the disabled_types as class attribute (would be easier to customize in the future).