Class attribute url renamed to _url to avoid conflicts with url
routine. Reference should be passed to spec instead of hashes (ability
to specify methods without parameters).