style: fix code style

Extracted from #51 as the PR is being discussed.