fixed export mismatch and renamed shutdown method.