Adding url as a virtual attribute