Are programmatic Profile properties possible?

I really dig Profile in ASP.NET. It's a good system and I'm all about common and easy to use API's. What I don't like is the web.config mess.

So my question is, is there a way to programmatically specify Profile properties instead of sketching them out one by one in web.config? I swear I think I saw something like that but I can't find it.