Final changes to support Online LSPI.