Adding custom blocks to tool palettes