Adding activity endpoint wrapper