Pass in the page/post as the arg and call the necessary methods? I'd prefer to keep the URL class as dumb as possible. I don't mind this duplication. Modules are good but in very small doses. :) I'd prefer to have the logic completely separated here.