Fixing API access (mainly logger)