initialize core-api before displaying fields of a @:coreApi type (closes #2257)
add @:impl metadata to @:fakeEnum pattern fields and ignore other fields when matching (closes #2250)