Workaround for adding modules required for docs containing C code (mock module plus weird import loop).