Added support for info classes.

Closes #50.