Modifying the ComplementTypes class