Corrected various mistakes.