botlib: clean up refs #31