Dimension API in the aesthete codec. Added resize predicate.