Unity 2017 is not Unity 5 anymore, so it goes to the “else” condition – which is obsolete. #if UNITY_5 || UNITY_2017 works fine. Besides this, there’s also serObject.UpdateIfDirtyOrScript(); which the Editor recommends to change to serObject.UpdateIfRequiredOrScript();.
Just an initial observation – I’m eager to try this tool out! 😉