Avoid using deprecated objects | CAST Appmarq