var BeaconRegion = Region.extend(function(identifier, uuid, major, minor) {

	Region.checkIdentifier(identifier);

	BeaconRegion.checkUuid(uuid);
	BeaconRegion.checkMajorOrMinor(major);
	BeaconRegion.checkMajorOrMinor(minor);

	this.uuid = uuid;
    this.major = major;
    this.minor = minor;

    this.typeName = 'BeaconRegion';
});
var CircularRegion = Region.extend(function(identifier, latitude, longitude, radius) {

	Region.checkIdentifier(identifier);
	CircularRegion.checkLatitude(latitude);
	CircularRegion.checkLongitude(longitude);
	CircularRegion.checkRadius(radius);

	this.latitude = latitude;
	this.longitude = longitude;
	this.radius = radius;


	// {String} typeName A String holding the name of the Objective-C type that the value
    //    this will get converted to once the data is in the Objective-C runtime.
    this.typeName = 'CircularRegion';
});