Added location class.