Remove unused libraries from TaskSubscription