Added doc text to all functions