Adding documentation and hinting