Fix sub-resource methods (#492).

Thanks, Malte, for reporting!

See #492.