What was the purpose of the 1940 smith act?

What was the purpose of the 1940 smith act?