Beginning of some AJAX integration.