Revert "Made EntityMetadata final"

This reverts commit 0b0eca06e7969e1381df513924a9ce28962df31a.