Refactor and clean up interface of CFBoolean.