Support for inner interfaces

There's many situations where it's more convenient to just have some simple interfaces inside a class. It's also nice when doing quick prototyping.