document methods in source