Methods and constructors scope local types.