Added docs, renamed template object.