Revert "add little type trait for sweeper"

This reverts commit d17f234d88b2ba8c79b866ec045fa886a8e05f8b.