Adding getUrl convenience method to Page model