Miscellaneous ref doc cleanup