Refactored listings functionality.