Added new custom method for building a URI.