Started adding support for negative weights for certain models.