Make global functions local in item.bookrests