All things should use amdefine. Need to convert other models too