Moved Formative class to a separate file.