Fixed the dynamic metatype providers and cleaned up the examples