To still prevent 'unknown attribute' errors, the attribute is registered using a dummy derive macro where needed.