Fixed namespaced type names and ignoring imported functions for now.