Now creates classes dir if it doesn't exist.