chore: added compiler warnings for deprecated constructs
chore: fixed compiler warnings for deprecated constructs