Use metadata classes in deposit.