plugin skeleton structure, registering document types