Fixed imports and logger not-used warning