Introduce the blacklisting feature. Fix some compiler warnings.