Removed old getName method of control widgets and replaced it with
a type attribute.