Added allOff function to library