Misc glue and documentation