Merge "Improve documentation and rename insertVisualStateCallback to postVisualStateCallback." into mnc-dev