Fix database annotations.