Add support for nested types. Fixes #55

Result:

![](https://dl.dropbox.com/u/84619931/Capture%20d%E2%80%99%C3%A9cran%202012-07-24%20%C3%A0%2018.43.55.png)

What do you think?