Added MyBatis support.