Adding require_type mixin