Support state and pagination