Remove two unused CodeBlock functions.