Created shared mixin for metadata editing fields.