Added synchronous protection calls and tests.