Work in progress ajaxification.