Simplifies some dict creations.