v3 deprecated functions removed. Syntax updated. Warnings enabled again