Remove block function.