Refactored latest records and tweets helpers