Fixed the code to properly use the new managed storing write barrier implementation.