Fix a couple bugs; BCC implementation.