Basic index and detail implementation.