Make get_or_create use code in defaults.