Made Window constructors explicit.