Migrating of error/notice/debug to report().. To be continued...