Added threshold as a default accepted type