Changed public API of service to include state and futureState