Change __uri__ to __resource__.