Disable attributes update when Sphinx is disabled.

 #488