Completing promisification
Adding documentation