Changed typedef to a more readable definition.