Add hibernate annotations.