Scanengine: add some docstrings