Use @encode for blocks too