Fixing a bug where a constructor was not being chained