getUri method is now part of the interface