public function get_hash( $max_length = 16, $raw_output = true ) {
		$hash = \md5( \json_encode( $this ), $raw_output );

		if ( $max_length < \strlen( $hash ) && $max_length > 0 ) {
			$hash = \substr( $hash, 0, $max_length );
		}

		return $hash;
	}