Adds complete callbacks and onComplete()

Pretty handy!

Sorry I'm having a hard time running the tests since I'm on Eclipse, that's why I haven't added any.