Implement get pastes by type