Remove depreceated method