Mock out non-standard libraries in docs.