using new spec style when checking type of optimised image (one of reasons to create new style was to solve delegation issues)