Add empty function when resource is singular.