Modified format slightly based on hlint suggestions.