Added test and docblock.
Added placeholder comments and fixed style.