The API of the resource module.