For internal use: