Some functions which should have been private
Added documentation as per sdumitriu's suggestion, thanks. Also bind the key to the wiki