Prevent multiple handler registration