Adapt drupal mybatis to new contact class§