use type for class name generator
added formvaluemixin