remove namespace from declaration and add type to method declaration.