Add missing docs, fix revered implementations