Made callback pattern more consistent. Made all strings configurable. Updated documentation.