[+BUGFIX] Fixed writing of namespaced return types