added support for better debug of deprecated functions
removed dependencies from deprecated functions ThemeHelpers::anchor and ThemeHelpers::image