Remove onStateChange arguments
Removed onStateChange from API docs