Move interfaces to top, make sure to undef __Class, cleanup examples and documentation.