Fix: Classes obtain appropriate logger.

this fixes #79