Fix calls to resty