WIP: documentation for extensions

Let the extensions begin! The only question is if we're sure that we want to document the internals at this point.