Removed unused callback, added documentation