Add REST implementation in entities