Mark as deprecated some overridden methods
Merge branch 'master' into knip
added casts