Add some docstrings to needlestack.base module.