Remove DB operations from blocks