add BC_DEPRECATED macro to mark objects as deprecated for removal.