Fix other instances of deprecated call