Add ruby blocks