Main resource should be relative.