How to get Restocking Fee on RMA to Generate on the same Credit Memo Not a Separate Credit Memo

We generate RMAs and sometimes use Restocking Fees. However it generates an entirely separate credit memo for the restocking fee. How can we get that to generate on the credit memo for the item?