Implement compiler registry (getcomp/bindcomp).