Allow more flexible options for dict extensions
(#449)