Bind 'createWindow' and drop dependency on MultiParamTypeClasses and
FunctionalDependencies.