Yes, that's how they work. You can see their source code in default.c.