Add hooks for logging spike times and decoded positions