Added appledoc-style documentation for all methods