Added missing interface declaration for asImage