Remove deprecated params

This PR adds a transformation to translate.py that removes any parameter whose documentation string contains a deprecated keyword.