Skeleton for REST interface.