removal of remaining SEXP instances in function interfaces