Use latest LF SDK methods to reduce dependency on unsupported
interfaces.