Generalising the coupling between spacetime and matter