Implement core functionality of AJAX cards.