Add OutputState compilation