Added 'slice' codes to assist in bootstrapping.