Fix special delegate types
Skip optimizing namespace handlers for now
Fix multiple namespaces