Refactor #9720 Separation deprecated core functions
http://tracker.modx.com/issues/9720