Moved definition_ save to DEBUG mode, fixed docbrowser bug when definition_ not available.