Fix adding members to old-style rigid bodies. Closes #821.