Bug fixing on Methods and UriFactory