Wow, this is really nice! I agree - should be in the core ;)