public function create_cookie( $name, $value, $minutes = 0, $path = null, $domain = null, $secure = false, $httponly = true ) {
		$expire = ( 0 === $minutes ) ? 0 : ( time() + $minutes * MINUTE_IN_SECONDS );

		return new Cookie( $name, $value, $expire, $path ?: COOKIEPATH, $domain ?: COOKIE_DOMAIN, $secure, $httponly );
	}