Beginnings of managed controls code.