Added namespaces to all sample code