Make AR config and establish_connection optional.