Class initialzation.