can we be sure that aliasMetadata is always populated? just asking, if we are then its fine as is.