Fixed strict errors in sphinx behavior.