remove framework dependency on deprecated methods