What are the classifications of joint stock companies?