Metadata plugins is compilable, also small fixes in format