Fix code style to match with the docs example