Added Database automated codes.