Add code block observers