Modified to starling version.