Updates documentation for statics and shared states