Added optional frequency and bits arguments to stuff