remove release_type from the Ami class