add setters for declared types that are used as method params