Adding correct method and type.