Introduce a `info`-method for all beans.

Useful e.g. for debugging/logging purposes.