Simplify how the base URL is passed to Element objects